Form creation (Dialog Box)

Hello,

I need to create a form (dialog box) that presents the value of two object attributes (AttrA and AttrB). The user can change the value and confirm.
I am trying to create that, but the documentation is to much confusing about the creation of forms.

Can you help me?

See the attachment to clarification

Regards,
Silveira
Silveirax - Tue May 24 14:39:28 EDT 2011

Re: Form creation (Dialog Box)
jdoucement - Thu May 26 10:47:42 EDT 2011

Hello,

creating a form is not that difficult. As always, if you're not familiar with graphical objects in DOORS, have a look at .dxl and .inc files available in your installation directory.

Then, the next step (the most crucial one) is to determine what kind of attribute you'd like to update. Are they int? Strings? User defined types?
This first reflexion will give what kind of DBE objects you should use: list, checkboxes,...

Also have a look at set and get functions in the DXL reference manual, without forgetting chapter 18. This could be helpfull.

Good luck anyway!

Cheers,
Jean

Re: Form creation (Dialog Box)
rmoskwa - Thu May 26 13:17:24 EDT 2011

I use DOORS v9.202

A good dialog box example dxl can be run as follows:
Open any module.
On the menu bar, choose Tools->DXL Library...
A Browse Tools - DOORS dialog box appears.
Expand the Some example programs which illustrate various DXL features folder.
Select the Introducing DDB file and run it.
An Introducing DDB - DOORS dialog box appears.
(Go ahead an position your cursor over the Rest your mouse here... text.)
Click on the Demo-button.
A DDB Demonstration - DOORS dialog box appears.
Click around in it.

You can edit the file to see how it all works.

This is the ddbintro.dxl
in
C:\Program Files\IBM\Rational\DOORS\9.2\lib\dxl\example
on my PC.

Re: Form creation (Dialog Box)
Tony_Goodman - Tue May 31 09:14:00 EDT 2011

rmoskwa - Thu May 26 13:17:24 EDT 2011
I use DOORS v9.202

A good dialog box example dxl can be run as follows:
Open any module.
On the menu bar, choose Tools->DXL Library...
A Browse Tools - DOORS dialog box appears.
Expand the Some example programs which illustrate various DXL features folder.
Select the Introducing DDB file and run it.
An Introducing DDB - DOORS dialog box appears.
(Go ahead an position your cursor over the Rest your mouse here... text.)
Click on the Demo-button.
A DDB Demonstration - DOORS dialog box appears.
Click around in it.

You can edit the file to see how it all works.

This is the ddbintro.dxl
in
C:\Program Files\IBM\Rational\DOORS\9.2\lib\dxl\example
on my PC.

You don't need DXL for that, you can use Forms.

These allow you to builds and save simple dialogs for users to enter values.

Select Tools > Forms > New...

Tony Goodman www.smartdxl.com

Re: Form creation (Dialog Box)
Silveirax - Tue May 31 15:36:01 EDT 2011

Ok, thanks